<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
	<meta name="generator" content="BBEdit Prerelease">
<style type="text/css">
		td { font-family: Arial, Helvetica, Geneva, Swiss, sans-serif; font-size: 12px }
		.large { font-weight: bold; font-size: 14px  }
		.small { font-size: 10px }
		.white { color: #FFFFFF }
		.header { font-size: 18px; color:#666699 }
		input { font-size: 12px }
	</style> 
	<script src="includes/encode_unicode.js" type="text/javascript" language="Javascript" charset="utf-8"></script>
	<qtssobject name=scriptTag>
		//<script language=javascript>
	
		function checkStringForHighBitChars(theString) {
			var foundHighBitChar = false;
			
			for (var i = 0; i < theString.length; i++) {
				if (theString.charCodeAt(i) >= 128) {
					foundHighBitChar = true;
					break;
				}
			}
			
			return foundHighBitChar;
		}
		
		function validateFormData() {
			if ((document.forms[0].elements['new_user'].value != '') && (document.forms[0].elements['new_password1'].value == '')) {
				entityAlert("<qtssstring name=ChPassMustEnterPasswdString/>");
				return false;
			}
			
			if (document.forms[0].elements['new_user'].value.indexOf(':') >= 0) {
				entityAlert("<qtssstring name=ChPassUsernameCannotHaveColonText/>");
				return false;
			}
			
			if (document.forms[0].elements['new_user'].value.indexOf(' ') > 0) {
				entityAlert("<qtssstring name=ChPassCannotContainSpacesText/>");
				return false;
			}
			
			if (document.forms[0].elements['new_user'].value == document.forms[0].elements['qtssAdminUsername'].value) {
				entityAlert("<qtssstring name=ChBoradcastPassCannotBeAdminUser/>");
				return false;
			}
			
			if (document.forms[0].elements['new_password1'].value != document.forms[0].elements['new_password2'].value) {
				entityAlert("<qtssstring name=ChPassNoMatchText>");
				return false;
			}
			
			for (var i = 0; i < 7; i++) {
				if ((document.forms[0].elements[i].value) && (checkStringForHighBitChars(document.forms[0].elements[i].value))) {
					entityAlert("<qtssstring name=ChPassNoHighBitStr/>");
					return false;
					break;
				}
			}
			return true;
		}
	
	</script>
</head>
<body bgcolor="#FFFFFF" background="images/stripes_gray.gif" onload="document.getElementById('new_user').focus()">
<qtssobject type=validatedform>
	<input type=hidden name=filename value="general_settings.html"> <input type=hidden name=action value="ChangeBroadcastPassword"> 
	<qtssobject type=hidden name=qtssAdminUsername/>
	<table border=0 cellspacing=0 cellpadding=0 width=620>
		<tr>
			<td align=left valign=top width=20><img src="images/spacer.gif" width=20 height=20 align=top alt="" hspace=0 vspace=0></td>
			<td valign=top align=center>
				<br>
				<br>
				<br>
				<br>
				<br>
				<table border=0 cellspacing=0 cellpadding=0 width=500>
					<tr>
						<td align=left><img src="images/dialog_top.gif" width=500 height=20 align=bottom alt="" hspace=0 vspace=0></td>
					</tr>
					<tr>
						<td align=left background="images/dialog_middle.gif">
							<table border=0 cellspacing=0 cellpadding=4 width="98%">
								<tr>
									<td valign=top width=110 align=center>
										<img src="images/dialog_qtss.gif" width=64 height=64 align=bottom alt=""> 
									</td>
									<td align=left valign=top class=large>
										<b><qtssstring name="ChBroadcastPassHeader"/></b> 
										<br>
										<br>
										<br>
										<table border=0 cellspacing=4 cellpadding=0>
											<tr>
												<td colspan=2>&nbsp;</td>
											</tr>
											<tr>
												<td align=left>
													<b><qtssstring name="ChPassNewUser"/></b> 
												</td>
												<td align=left>
													<input type=text name="new_user" id="new_user" value="" size=25> 
												</td>
											</tr>
											<tr>
												<td align=left>
													<b><qtssstring name="ChPassNewPasswd"/></b> 
												</td>
												<td align=left>
													<input type=password name="new_password1" value="" size=25> 
												</td>
											</tr>
											<tr>
												<td align=left>
													<font face="Arial"><b><qtssstring name="ChPassReenterPasswd"/></b></font> 
												</td>
												<td align=left>
													<input type=password name="new_password2" value="" size=25> 
												</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
							<table border=0 cellspacing=0 cellpadding=0 width="100%">
								<tr>
									<td valign=top align=right>
										<br>
										<input type=button name="ChangePass" value="<qtssstring name=CancelButtonTitle/>" onclick="this.form.elements['action'].value='';this.form.elements['filename'].value='general_settings.html';this.form.submit()"><span class=white>....</span><input type=submit name=ok value="<qtssstring name=ChPassChangePasswdButton/>"><span class=white>........</span> 
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td align=left>
							<img src="images/dialog_bottom.gif" width=500 height=20 align=bottom alt=""> 
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</qtssobject>
</body>
</html>
